package com.qf.test.dao;

import com.qf.test.entity.User;
import org.apache.ibatis.annotations.Param;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@MapperScan
public interface UserDAO {
     User login(@Param("username") String username, @Param("pwd") String pwd);
     List<User> findAll();
}
